From: Mark Brown Date: Mon, 15 Dec 2008 15:43:43 +0000 (+0000) Subject: ALSA: Fix declaration of sound_class X-Git-Tag: archive/raspbian/4.9.13-1+rpi1~10^2~24879^2~1^2 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=3d1ee379bd576c0830050c2d313e77b9f98a8013;p=linux-4.9.git ALSA: Fix declaration of sound_class Include sound/core.h in sound_core.c so that sound_class is declared before it is defined, avoiding it looking like it should be static. Signed-off-by: Mark Brown Signed-off-by: Takashi Iwai --- diff --git a/sound/sound_core.c b/sound/sound_core.c index 10ba4218161b..2b302bbffe73 100644 --- a/sound/sound_core.c +++ b/sound/sound_core.c @@ -10,6 +10,7 @@ #include #include #include +#include #ifdef CONFIG_SOUND_OSS_CORE static int __init init_oss_soundcore(void);